#ifndef WXSSIMPLEFONTEDITORDLG_H
#define WXSSIMPLEFONTEDITORDLG_H

#include "wxsfontproperty.h"

#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/statline.h>
#include <wx/button.h>
#include "scrollingdialog.h"


class wxsSimpleFontEditorDlg: public wxScrollingDialog {
  public:

    wxsSimpleFontEditorDlg( wxWindow* parent, wxsFontData& Data, wxWindowID id = -1 );
    virtual ~wxsSimpleFontEditorDlg();

    //(*Identifiers(wxsSimpleFontEditorDlg)
    static const long ID_STATICTEXT1;
    static const long ID_STATICLINE2;
    static const long ID_BUTTON1;
    static const long ID_BUTTON3;
    static const long ID_STATICLINE1;
    static const long ID_BUTTON2;
    static const long ID_TEXTCTRL1;
    static const long ID_STATICTEXT2;
    static const long ID_STATICTEXT3;

  private:

    //(*Handlers(wxsSimpleFontEditorDlg)
    void OnOK( wxCommandEvent& event );
    void OnButton1Click( wxCommandEvent& event );
    void OnButton2Click( wxCommandEvent& event );
    void OnButton3Click( wxCommandEvent& event );

    //(*Declarations(wxsSimpleFontEditorDlg)
    wxStaticText* StaticText2;
    wxButton* Button1;
    wxTextCtrl* TestArea;
    wxFlexGridSizer* FlexGridSizer2;
    wxBoxSizer* BoxSizer2;
    wxStaticText* StaticText3;
    wxButton* Button2;
    wxStaticLine* StaticLine2;
    wxStaticText* FontDescription;
    wxButton* Button3;
    wxStaticLine* StaticLine1;
    wxStaticBoxSizer* StaticBoxSizer1;

    wxsFontData& m_Data;
    wxsFontData  m_WorkingCopy;

    void UpdateFontDescription();

    DECLARE_EVENT_TABLE()
};

#endif
